/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.service;

import java.util.List;

import com.sasis.service.Manager;
import com.sasis.model.ProcessMonitor;
import com.sasis.model.WrProcess;

public interface WrProcessManager extends Manager {
    /**
     * Retrieves all of the wrProcesss
     */
    public List getWrProcesss(WrProcess wrProcess);

    /**
     * Gets wrProcess's information based on id.
     * @param id the wrProcess's id
     * @return wrProcess populated wrProcess object
     */
    public WrProcess getWrProcess(final String id);
    
    //add by ewen 
    public List getProcessMonitors(final ProcessMonitor processMonitor);

    /**
     * Saves a wrProcess's information
     * @param wrProcess the object to be saved
     */
    public int saveWrProcess(WrProcess wrProcess);

    /**
     * Removes a wrProcess from the database by id
     * @param id the wrProcess's id
     */
    public void removeWrProcess(WrProcess wrProcess);
}

